package com.shark.open.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shark.model.trade.FuelOrderModel;
import com.shark.open.criteria.FuelOrderCriteria;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shark.model.crm.TotalModel;
import org.apache.ibatis.annotations.*;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Mapper
public interface FuelOrderMapper extends BaseMapper<FuelOrderModel> {
    List<FuelOrderModel> listPage(@Param("criteria") FuelOrderCriteria criteria, @Param("pageStart")long pageStart);
    TotalModel getTotal(@Param("criteria") FuelOrderCriteria criteria);
}
